<!DOCTYPE html>
<html lang="zh">
  <meta charset="UTF-8">
<head>
  <title>Get Cookies</title>
</head>
<body>
<div class="main_class">
  <div class="top_class">
    <button id="getCookies" class="button_style_one">单个cookie</button>
    <button id="getAllCookies" class="button_style_two">获取全部</button>
  </div>
  <label for="cookies"></label>
  <textarea id="cookies" class="content_class" rows="15" cols="50" hidden="hidden"></textarea>
  <div id="cookiesContainer"></div>
  <div id="customAlert" class="jumpWin">
    <p id="customAlertText" style="color: #7ec050"></p>
  </div>
</div>

</body>
<script src="popup.js"></script>
<style>
  .main_class {
    min-width: 300px;
    max-width: 100%;
    height: 100%;
  }

  .top_class{
    text-align:center;
    margin: 0 auto;
    width: 100%;
  }
  .button_style_one{
    font-size: 12px;
    width: 100px;
    height: 30px;
    margin: 0 auto;
    background-color: #f5f7fa;
    color: #606266;
    border: none;
    border-radius: 5px;
    /*字体加粗*/
    font-weight: bold;
    &:hover {
      background-color: #f0f2f5;
    }
  }
  .button_style_two{
    font-size: 12px;
    width: 100px;
    height: 30px;
    margin: 0 auto;
    background-color: #f5f7fa;
    color: #5a9cf8;
    border: none;
    border-radius: 5px;
    /*字体加粗*/
    font-weight: bold;
    &:hover {
      background-color: #f0f2f5;
    }
  }
  .content_class{
    margin: 10px auto;
    padding: 10px;
    border: 1px solid #ebeef5;
    border-radius: 5px;
    background-color: #f5f7fa;
    color: #606266;
    font-size: 12px;
    font-weight: bold;
    &:hover {
      background-color: #f0f2f5;
    }

  }
  /*以下样式在popup.js中进行使用*/
  .multi_class{
    display: block;
    margin: 10px auto;
    padding: 10px;
    border: 1px solid #ebeef5;
    border-radius: 5px;
    background-color: #f5f7fa;
    .multi_class_one {
    /*横向排列*/
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;

      margin: 0 auto;
      .span_class{
        color: #606266;
        background-color: #f5f7fa;
        border: none;
        margin: 0 10px;
        font-size: 12px;
        font-weight: bold;
      }
      .input_all{
        width: 100%;
        height: 30px;
        margin: 0 10px;
        font-size: 12px;
        border: #636364 1px solid;
        /*color: #606266;*/
        border-radius: 5px;
        /*字体加粗*/
        font-weight: bold;
      }
    }
  }
  .button_style_list_one{
    font-size: 12px;
    width: 100px;
    height: 30px;
    margin: 0 auto;
    background-color: #f5f7fa;
    color: #606266;
    border: none;
    border-radius: 5px;
    /*字体加粗*/
    font-weight: bold;
    &:hover {
      background-color: #f0f2f5;
    }
  }
  .button_style_list_two{
    font-size: 12px;
    width: 100px;
    height: 30px;
    margin: 0 auto;
    background-color: #f5f7fa;
    color: #7ec050;
    border: none;
    border-radius: 5px;
    /*字体加粗*/
    font-weight: bold;
    &:hover {
      background-color: #f0f2f5;
    }
  }
  .jumpWin{
    display:none;
    position:fixed;
    top:7%;
    left:10%;
    transform:translate(-50%, -50%);
    padding:10px;
    z-index:1000;
  }
</style>
</html>
